%h1 Grass Types
%table#main
  %tr
    %th Name
    %th Description
  -for grass_type in @grass_types
    %tr
      %td=grass_type.name
      %td=truncate grass_type.description
      %td=link_to 'Show', grass_type
      %td=link_to 'Edit', edit_grass_type_path(grass_type)
      %td=link_to 'Destroy', grass_type, :method => :delete
%br
=link_to 'New Grass Type', new_grass_type_path
